package cn.study;

import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.Mojo;
import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;
import org.apache.maven.plugin.logging.Log;

/**
 * Goal print Hello World.
 *
 * @goal hello
 * @phase process-sources
 *
 * @author: xiongfei
 * @date: 2025-06-16
 */
public class MyJavadocMojo extends AbstractMojo {

    @Override
    public void execute() throws MojoExecutionException, MojoFailureException {
        getLog().info("Hello maven, This is my first plugin.");
    }
}
